import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';

const project: AppRouteModule = {
  path: '/deviceIntegration',
  name: 'DeviceIntegration',
  component: LAYOUT,
  redirect: '/deviceIntegration/tag',
  id: '4',
  meta: {
    orderNo: 4,
    icon: 'ant-design:cluster-outlined',
    title: '设备集成',
  },
  children: [
    {
      id: '4-1',
      path: 'tag',
      name: 'TagIndexPage',
      component: () => import('/@/views/project/tag/index.vue'),
      meta: {
        title: '设备接入',
      },
    },
    {
      id: '4-2',
      path: 'template',
      name: 'TemplateManagementPage',
      component: () => import('/@/views/project/templateManagement/index.vue'),
      meta: {
        title: '设备模型',
      },
    },
  ],
};

export default project;
